home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-02-09 | 1.7 KB | 63 lines | [TEXT/MPS ] |
- #
- # v.menu
- # MPW Shell script
- # Kerry Laidlaw
- # Apple Computer, Inc.
- #
- # Function:
- # Setup a menu for the Localization Verifier. All the scripts in the Verifier are
- # accessed directly or indirectly from here.
- #
- # In & Outputs:
- # None.
- #
-
- set saveExit {exit}
- set exit 0 # Set exit 0 so we won't abort if status variable is non-zero
- set saveEcho {echo} # echo=1 for echoing each command before execution
- set echo 0
-
- deletemenu verify ≥ dev:null
-
- addmenu "Verify" "Defaults…" '∂
- set VerifierVersion "1.0" ;∂
- export VerifierVersion ;∂
- Execute (v.getDefaultStrings setDefaults) ;∂
- Execute (v.getDefaultStrings clear) '
-
- if "`exists -f "{MPW}"Scripts:v.rNames`"
- addmenu "Verify" "Create rNames folder…" '∂
- set VerifierVersion "1.0" ;∂
- export VerifierVersion ;∂
- Execute (v.getDefaultStrings getDefaults) ;∂
- Execute (v.getDefaultStrings clear) '
-
- end
- addmenu "Verify" "Create Report…" '∂
- set VerifierVersion "1.0" ;∂
- export VerifierVersion ;∂
- Execute (v.getDefaultStrings doVerify) ;∂
- Execute (v.getDefaultStrings clear) '
-
- addmenu "Verify" '(-' ''
-
- # Spacing is very important in this item. There are non-breaking spaces in
- # the command line (made with option-space) and the spaces are counted out so
- # they balance in the alert box.
-
- addmenu "Verify" "About Localization Verifier…" '∂
- set VerifierVersion "1.0" ;∂
- export VerifierVersion ;∂
- alert -s "∂
- ∂t∂t∂t∂t∂t∂t∂t∂t∂t∂tLocalization Verifier v"{VerifierVersion}"∂n∂
- ∂t∂t∂t∂t∂t∂t∂t∂t∂t∂t∂t∂t∂t∂t∂tby Kerry Laidlaw∂n∂
- ∂t∂t∂t(based on the ∂"Auditor∂" by Malcolm H. Teas)∂n∂
- ∂tQuality - Lorenzo Sangalli, Beth Clark, Jerry Nairn∂n∂
- © Apple Computer, Inc. 1990-94. All rights reserved."'
-
- set echo {saveEcho} # restore echo
- set exit "{saveExit}"
-
-
-
-